Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start using Docker #2

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Start using Docker #2

wants to merge 4 commits into from

Conversation

ovikholt
Copy link

@ovikholt ovikholt commented Mar 5, 2020

Well at least I tried. Gets pretty far but ends with this error, which I don't have enough experience to be able to debug without hours and hours of study:

main.cpp: In function 'int main(int, char**)':
main.cpp:73:42: error: no matching function for call to 'QObject::connect(Plotter*, void (Plotter::*)(formant_sample_t, formant_sample_t), MainWindow*, void (MainWindow::*)(formant_sample_t, formant_sample_t), Qt::ConnectionType)'
main.cpp:73:42: note: candidates are:
In file included from /usr/include/qt4/QtCore/qcoreapplication.h:45:0,
                 from /usr/include/qt4/QtGui/qapplication.h:45,
                 from /usr/include/qt4/QtGui/QApplication:1,
                 from main.cpp:7:
/usr/include/qt4/QtCore/qobject.h:204:17: note: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
/usr/include/qt4/QtCore/qobject.h:204:17: note:   no known conversion for argument 2 from 'void (Plotter::*)(formant_sample_t, formant_sample_t) {aka void (Plotter::*)(short int, short int)}' to 'const char*'
/usr/include/qt4/QtCore/qobject.h:217:17: note: static bool QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
/usr/include/qt4/QtCore/qobject.h:217:17: note:   no known conversion for argument 2 from 'void (Plotter::*)(formant_sample_t, formant_sample_t) {aka void (Plotter::*)(short int, short int)}' to 'const QMetaMethod&'
/usr/include/qt4/QtCore/qobject.h:337:13: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
/usr/include/qt4/QtCore/qobject.h:337:13: note:   candidate expects 4 arguments, 5 provided

@reynoldsnlp
Copy link

@ovikholt , thanks for the PR! 🙌I really like the idea of using Docker to make the build more stable. @kchmck any ideas about how to fix this?

@kchmck
Copy link

kchmck commented Mar 15, 2020

This seems to do the job for building: https://github.com/CREATEspace/VowelCat/compare/docker

You can use it like

# docker build -t build-vowelcat ./docker
# docker run --rm -v $PWD:/app -w /app build-vowelcat make

Edit: for example, https://github.com/CREATEspace/VowelCat/runs/509337993#step:4:1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants